﻿export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user',
        routes: [
          {
            name: 'login',
            path: '/user/login',
            component: './user/Login',
          },
        ],
      },
      {
        component: './404',
      },
    ],
  },
  {
    path: '/settings',
    routes: [
      {
        path: '/settings/account',
        component: './account/List'
      },
      {
        path: '/settings/permission',
        component: './permission/List'
      },
      {
        path: '/settings/role',
        component: './role/List'
      },
      {
        path: '/settings/menu',
        component: './menu/List'
      }
    ]
  },
  {
    path: '/',
    redirect: '/settings/account',
  },
  {
    component: './404',
  },
];
